<template>
  <div>
    <!--信息-->
    <div class="Sidebar">
      <h3>信息搜索</h3>
<!--      <div class="filter-icon">
        <input placeholder="医院名字">
      </div>-->
      <Province></Province>
    </div>
    <sel-wrap icon="icon-user" title="医院等级">
      <el-select class="date-wrap" v-model=value7 placeholder="请选择医院等级">
        <el-option
          :key="item.value"
          v-for="(item, index) in hosLevel"
          :label="item.label"
          :value="item.value">
        </el-option>
      </el-select>
    </sel-wrap>
    <sel-wrap icon="icon-user" title="年门诊量">
      <el-row class="filter-wrap">
        <el-col :span="10">
          <el-input placeholder="最小值" class="form-style"/>
        </el-col>
        <el-col :span="4">
          <span class="split-min-max"></span>
        </el-col>
        <el-col :span="10">
          <el-input placeholder="最大值" class="form-style"/>
        </el-col>
      </el-row>
    </sel-wrap>
    <sel-wrap icon="icon-user" title="病床数">
      <el-row class="filter-wrap">
        <el-col :span="10">
          <el-input placeholder="最小值" class="form-style"/>
        </el-col>
        <el-col :span="4">
          <span class="split-min-max"></span>
        </el-col>
        <el-col :span="10">
          <el-input placeholder="最大值" class="form-style"/>
        </el-col>
      </el-row>
    </sel-wrap>
      <!--<sel-wrap title="医院等级" icon="icon-user">
        <el-select v-model=value7 placeholder="请选择医院等级">
          <el-option
            :key="item.value"
            v-for="(item, index) in items"
            :label="item.label"
            :value="item.value">
          </el-option>
        </el-select>
      </sel-wrap>-->
    <!--导航-->
    <!--<ngnHco></ngnHco>-->
    <!--标签-->
    <!--<div class="containers">
      <div class="conditions-wrap">
        <el-tag
          size="mini" :type="tag.type" v-for="tag in dynamicTags" closable :disable-transitions="false" @close="handleClose(tag)">
          {{tag.name}}
        </el-tag>
      </div>
      <span class="sure-btn">
        确定
      </span>
    </div>-->
  </div>
</template>

<script>
  import SelWrap from '@/comcom/selwrap'
  import SelOne from '@/comcom/selone'
  import Province from './Sidebar/province'
  import ngnHco from './Sidebar/ngnHco'
  export default {
    components: {
      Province,ngnHco, SelOne, SelWrap
    },
    data() {
      return {
        value7: null,
        hosLevel: [
          {label: '三甲', value: 1},
          {label: '三乙', value: 2},
          {label: '二甲', value: 3},
          {label: '二乙', value: 4}
        ],
        dynamicTags: [
          {name: '标签一', type: ''},
          {name: '标签二', type: 'success'},
          {name: '标签三', type: 'info'},
          {name: '标签四', type: 'warning'},
          {name: '标签五', type: 'danger'}
        ],
      }
    },
    methods: {
      handleClose(tag) {
        this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);
      },
    }
  }
</script>

<style scoped>
  @import '../../../assets/index.css';
  .Sidebar {
  }
  .Sidebar > h3 {
    color: #fff;
    font-size: 20px;
  }
  .filter-icon > input{
    margin-bottom: 12px;
    width: 80%;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border: 0;
    border-radius: 4px;
    background-color: rgba(246, 242, 226, 0.4);
    font-size: 16px;
    color: #ababab;
  }
  .filter-icon>input::-webkit-input-placeholder { /* WebKit browsers */
    color: #ababab;
  }
  .filter-icon>input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #ababab;
  }
  .filter-icon>input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #ababab;
  }
  .filter-icon>input:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #ababab;
  }

  .containers {
    padding: 10px 20px;
    background-color: rgba(245, 245, 248, 0.1);
    border-radius: 10px;
    -webkit-box-shadow: 10px 5px 30px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 10px 5px 30px 10px rgba(0, 0, 0, 0.2);
    margin: 0 30px 0 0;
  }
  .conditions-wrap{
    height: 100px;
    margin-bottom: 20px;
  }
  .el-tag + .el-tag {
    margin-left: 10px;
  }
  .sure-btn{
    margin-top: 40px;
    float: right;
    display: inline-block;
    width: 80px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #1f9e91;
    border-radius: 5px;
    cursor: pointer;
  }
  .selbox-title{
    font-size: 17px;
    color: #fff;
    padding: 0 30px 10px 30px;
    margin-top: 10px;
  }
  .icon-sel-box{
    padding-left: 30px;
  }
  .el-input--suffix .el-input__inner {
    margin-bottom: 12px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border: 0;
    border-radius: 4px;
    background-color: rgba(246, 242, 226, 0.4);
    font-size: 16px;
    color: #ababab;
  }

  .el-input__prefix, .el-input__suffix {
    position: absolute;
    top: -5px;
  }
</style>
